Part Number Hot Search : 
BAT74 14KESD10 1N5392G 1010C 1204C 05NU41 TC143Z 82000
Product Description
Full Text Search
 

To Download MT9094AP Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 (R)
ISO2-CMOS ST-BUSTM FAMILY MT9094 Digital Telephone (DPhone-II)
Features
* * * * Programmable -Law/A-Law codec and filters Programmable CCITT (G.711)/sign-magnitude coding Programmable transmit, receive and side-tone gains DSP-based: i) Speakerphone switching algorithm ii) DTMF and single tone generator iii) Tone Ringer Differential interface to telephony transducers Differential audio paths Single 5 volt power supply
ISSUE 2
May 1995
Ordering Information MT9094AP 44 Pin PLCC
-40C to +85C
Description
The MT9094 DPhone-II is a fully featured integrated digital telephone circuit. Voice band signals are converted to digital PCM and vice versa by a switched capacitor Filter/Codec. The Filter/Codec uses an ingenious differential architecture to achieve low noise operation over a wide dynamic range with a single 5V supply. A Digital Signal Processor provides handsfree speaker-phone operation. The DSP is also used to generate tones (DTMF, Ringer and Call Progress) and control audio gains. Internal registers are accessed through a serial microport conforming to INTEL MCS-51TM specifications. The device is fabricated in Mitel's low power ISO2-CMOS technology.
* * *
Applications
* * * Fully featured digital telephone sets Cellular phone sets Local area communications stations
DSTo DSTi F0i C4i VSSD VDD VSSA VSS SPKR VBias VRef
Digital Signal Processor AAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAA 22.5/-72dB AAAAAAAAAAAAAAAAAAAAAAA AAAAAAAA1.5dB AAAAAAA AAAAAAAAAAAAAAAAAAAAAAA AAAA AAAAAAAATx &AAAAAAAAAAA Rx AAAAAAAAAAAAAAAAAAAAAAA AAAAAAAA AAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAA
Filter/Codec Gain AAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA 7dB AAAAAAAAAAAAAAAAAAAAAAAA ENCODER AAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA -7dB DECODER AAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA
MICTransducer Interface MIC+ MM+
C-Channel Registers
STATUS Control Registers
HSPKR+ HSPKRSPKR+ SPKR-
Timing Circuits
New Call Tone Generator Serial Port (MCS-51
Compatible)
LCD Driver
S/P & P/S Converter
DATA 2 DATA 1 SCLK CS
S1
S12
BP
WD PWRST IC
Figure 1 Functional Block Diagram
7-45
MT9094
PWRST IC VRef VBias NC M+ MVSSA MIC+ MICVSS SPKR DSTi DSTo C4i F0i VSSD NC SCLK DATA 2 DATA 1 CS WD 6 5 4 3 2 1 44 43 42 41 40 7 8 9 10 11 12 13 14 15 16 17 39 38 37 36 35 34 33 32 31 30 29 SPKR+ SPKRHSPKR+ HSPKRVDD BP S12 S11 S10 S9 S8
Figure 2 - Pin Connections
Pin Description
Pin # 1 2 3 4 5 6 7 8 Name M+ NC VBias VRef IC Description Non-Inverting Microphone (Input). Non-inverting input to microphone amplifier from the handset microphone. No Connect. No internal connection to this pin. Bias Voltage (Output). (VDD/2) volts is available at this pin for biasing external amplifiers. Connect 0.1 F capacitor to VSSA. Reference voltage for codec (Output). Nominally [(VDD/2)-1.5] volts. Used internally. Connect 0.1 F capacitor to VSSA. Internal Connection. Tie externally to VSS for normal operation.
PWRST Power-up Reset (Input). CMOS compatible input with Schmitt Trigger (active low). DSTi DSTo ST-BUS Serial Stream (Input). 2048 kbit/s input stream composed of 32 eight bit channels; the first four of which are used by the MT9094. Input level is TTL compatible. ST-BUS Serial Stream (Output). 2048 kbit/s output stream composed of 32 eight bit channels. The MT9094 sources digital signals during the appropriate channel, time coincident with the channels used for DSTi. 4096 kHz Clock (Input). CMOS level compatible. Frame Pulse (Input). CMOS level compatible. This input is the frame synchronization pulse for the 2048 kbit/s ST-BUS stream. Digital Ground. Nominally 0 volts. No Connect. No internal connection to this pin. Serial Port Synchronous Clock (Input). Data clock for MCS-51 compatible microport. TTL level compatible.
9 10 11 12 13
C4i F0i VSSD NC SCLK
7-46
IC NC NC VSSD S1 S2 S3 S4 S5 S6 S7 44 PIN PLCC
18 19 20 21 22 23 24 25 26 27 28
MT9094
Pin Description (continued)
Pin # 14 Name Description
DATA 2 Serial Data Transmit. In an alternate mode of operation, this pin is used for data transmit from MT9094. In the default mode, serial data transmit and receive are performed on the DATA 1 pin and DATA 2 is tri-stated. DATA 1 Bidirectional Serial Data. Port for microprocessor serial data transfer compatible with MCS-51 standard (default mode). In an alternate mode of operation , this pin becomes the data receive pin only and data transmit is performed on the DATA 2 pin. Input level TTL compatible. CS WD IC NC VSSD Chip Select (Input). This input signal is used to select the device for microport data transfers. Active low. (TTL level compatible.) Watchdog (Output). Watchdog timer output. Active high. Internal Connection. Tie externally to VSS for normal operation. No Connection. No internal connection to these pins. Digital Ground. Nominally 0 volts.
15
16 17 18 19, 20 21 22-3 3 34 35 36 37 38 39 40 41 42 43 44
S1-S12 Segment Drivers (Output). 12 independently controlled, two level, LCD segment drivers. An in-phase signal, with respect to the BP pin, produces a non-energized LCD segment. An out-of-phase signal, with respect to the BP pin, energizes its respective LCD segment. BP VDD Backplane Drive (Output). A two-level output voltage for biasing an LCD backplane. Positive Power Supply (Input). Nominally 5 volts.
HSPKR- Inverting Handset Speaker (Output). Output to the handset speaker (balanced). HSPKR+ Non-Inverting Handset Speaker (Output). Output to the handset speaker (balanced). SPKRInverting Speaker (Output). Output to the speakerphone speaker (balanced).
SPKR+ Non-Inverting Speaker (Output). Output to the speakerphone speaker (balanced). VSS SPKR MICMIC+ VSSA MPower Supply Rail for Analog Output Drivers. Nominally 0 Volts. Inverting Handsfree Microphone (Input). pin. Handsfree microphone amplifier inverting input Handsfree microphone amplifier
Non-inverting Handsfree Microphone (Input). non-inverting input pin. Analog Ground. Nominally 0 V.
Inverting Microphone (Input). Inverting input to microphone amplifier from the handset microphone.
NOTES: Intel and MCS-51 are registered trademarks of Intel Corporation, Santa Clara, CA, USA.
7-47
MT9094
Overview
The Functional Block Diagram of Figure 1 depicts the main operations performed within the DPhone-II. Each of these functional blocks will be described in the sections to follow. This overview will describe some of the end-user features which may be implemented as a direct result of the level of integration found within the DPhone-II. The main feature required of a digital telephone is to convert the digital Pulse Code Modulated (PCM) information, being received by the telephone set, into an analog electrical signal. This signal is then applied to an appropriate audio transducer such that the information is finally converted into intelligible acoustic energy. The same is true of the reverse direction where acoustic energy is converted first into an electrical analog and then digitized (into PCM) before being transmitted from the set. Along the way if the signals can be manipulated, either in the analog or the digital domains, other features such as gain control, signal generation and filtering may be added. More complex processing of the digital signal is also possible and is limited only be the processing power available. One example of this processing power may be the inclusion of a complex handsfree switching algorithm. Finally, most electro-acoustic transducers (loudspeakers) require a large amount of power to develop an effective acoustic signal. The inclusion of audio amplifiers to provide this power is required. The DPhone-II features Digital Signal Processing (DSP) of the voice encoded PCM, complete Analog/ Digital and Digital/Analog conversion of audio signals (Filter/CODEC) and an analog interface to the external world of electro-acoustic devices (Transducer Interface). These three functional blocks combine to provide a standard full-duplex telephone conversation utilizing a common handset. Selecting transducers for handsfree operation, as well as allowing the DSP to perform its handsfree switching algorithm, is all that is required to convert the full-duplex handset conversation into a half-duplex speakerphone conversation. In each of these modes, full programmability of the receive path and side-tone gains is available to set comfortable listening levels for the user as well as transmit path gain control for setting nominal transmit levels into the network. The ability to generate tones locally provides the designer with a familiar method of feedback to the telephone user as they proceed to set-up, and ultimately, dismantle a telephone conversation. Also, as the network slowly evolves from the dial pulse/ DTMF methods to the D-Channel protocols it is
7-48
essential that the older methods be available for backward compatibility. As an example; once a call has been established, say from your office to your home, using the D-Channel signalling protocol it may be necessary to use in-band DTMF signalling to manipulate your personal answering machine in order to retrieve messages. Thus the locally generated tones must be of network quality and not just a reasonable facsimile. The DPhone-II DSP can generate the required tone pairs as well as single tones to accommodate any in-band signalling requirement. Each of the programmable parameters within the functional blocks is accessed through a serial microcontroller port compatible with Intel MCS-51 specifications.
Functional Description
In this section, each functional block within the DPhone-II is described along with all of the associated control/status bits. Each time a control/ status bit(s) is described it is followed by the address register where it will be found. The reader is referred to the section titled `Register Summary' for a complete listing of all address map registers, the control/status bits associated with each register and a definition of the function of each control/status bit. The Register Summary is useful for future reference of control/status bits without the need to locate them within the text of the functional descriptions. Filter-CODEC The Filter/CODEC block implements conversion of the analog 3.3kHz speech signals to/from the digital domain compatible with 64kb/s PCM B-Channels. Selection of companding curves and digital code assignment are register programmable. These are CCITT G.711 A-law or -Law, with true-sign/ Alternate Digit Inversion or true-sign/Inverted Magnitude coding, respectively. Optionally, signmagnitude coding may also be selected for proprietary applications. The Filter/CODEC block also implements transmit and receive audio path gains in the analog domain. These gains are in addition to the digital gain pad provided in the DSP section and provide an overall path gain resolution of 0.5dB. A programmable gain, voice side-tone path is also included to provide proportional transmit speech feedback to the handset receiver so that a dead sounding handset is not encountered. Figure 3 depicts the nominal half-channel and side-tone gains for the DPhone-II.
MT9094
On PWRST (pin 6) the Filter/CODEC defaults such that the side-tone path, dial tone filter and 400Hz transmit filter are off, all programmable gains are set to 0dB and -Law companding is selected. Further, the Filter/CODEC is powered down due to the PuFC bit (Transducer Control Register, address 0Eh) being reset. This bit must be set high to enable the Filter/ CODEC. The internal architecture is fully differential to provide the best possible noise rejection as well as to allow a wide dynamic range from a single 5 volt supply design. This fully differential architecture is continued into the Transducer Interface section to provide full chip realization of these capabilites. A reference voltage (V Ref), for the conversion requirements of the CODER section, and a bias voltage (VBias), for biasing the internal analog sections, are both generated on-chip. V Bias is also brought to an external pin so that it may be used for biasing any external gain plan setting amplifiers. A 0.1F capacitor must be connected from VBias to analog ground at all times. Likewise, although VRef may only be used internally, a 0.1F capacitor from the VRef pin to ground is required at all times. It is suggested that the analog ground reference point for these two capacitors be physically the same point. To facilitate this the VRef and V Bias pins are situated on adjacent pins. The transmit filter is designed to meet CCITT G.714 specifications. The nominal gain for this filter path is 0dB (gain control = 0dB). An anti-aliasing filter is
SERIAL PORT
DSP GAIN*
FILTER/CODEC
TRANSDUCER INTERFACE -Law -6.3 dB -Law -3.7 dB -6 dB HSPKR+
75
Handset Receiver (150)
Receive PCM -72 to +22.5 dB (1.5dB steps) Receive Filter Gain 0 to -7 dB (1 dB steps) -6 dB
Receiver Driver
HSPKR-
75
Side-tone -9.96 to +9.96dB (3.32 dB steps) DTMF, Tone Ringer & Handsfree
Speaker Phone Driver 0.2dB*
SPKR+ SPKR-
Speaker Gain 0 to -24 dB (8 dB steps)
Tone Ringer (input from DSP)
Speakerphone Speaker (40 nominal) (32 min)
Side-tone Nominal Gain -Law -11 dB -Law -18.8 dB
PCM
-72 to +22.5 dB (1.5dB steps) Transmit DIGITAL DOMAIN
Transmit Filter Gain 0 to +7dB (1 dB steps)
-Law 6.1dB -Law 15.4dB
Transmit Gain
M U X
MIC+ Handsfree mic MIC- M+ M- Transmitter microphone
ANALOG DOMAIN
Internal to Device
Note: *gain the same for A-Law and m-Law
External to Device
Figure 3 - Audio Gain Partitioning
7-49
MT9094
included. This is a second order lowpass implementation with a corner frequency at 25kHz. Attenuation is better than 32dB at 256 kHz and less than 0.01dB within the passband. An optional 400Hz high-pass function may be included into the transmit path by enabling the Tfhp bit in the Transducer Control Register (address 0Eh). This option allows the reduction of transmitted background noise such as motor and fan noise. The receive filter is designed to meet CCITT G.714 specifications. The nominal gain for this filter path is 0 dB (gain control = 0dB). Filter response is peaked to compensate for the sinx/x attenuation caused by the 8kHz sampling rate. The Rx filter function can be altered by enabling the DIAL EN control bit in the Transducer Control Register (address 0Eh). This causes another lowpass function to be added, with a 3dB point at 1000Hz. This function is intended to improve the sound quality of digitally generated dial tone received as PCM. Transmit sidetone is derived from the Tx filter and is subject to the gain control of the Tx filter section. Sidetone is summed into the receive path after the Rx filter gain control section so that Rx gain adjustment will not affect sidetone levels. The side-tone path may be enabled/disabled with the SIDE EN bit located in the Transducer Control Register (address 0Eh). See also STG 0-STG2 (address 0Bh). Transmit and receive filter gains are controlled by the TxFG0-TxFG2 and RxFG0-RxFG2 control bits respectively. These are located in the FCODEC Gain Control Register 1 (address 0Ah). Transmit filter gain is adjustable from 0dB to +7dB and receive filter gain from 0dB to -7dB, both in 1dB increments. Side-tone filter gain is controlled by the STG 0-STG2 control bits located in the FCODEC Gain Control Register 2 (address 0Bh). Side-tone gain is adjustable from -9.96dB to +9.96dB in 3.32dB increments. Law selection for the Filter/CODEC is provided by the A/ companding control bit while the coding scheme is controlled by the sign-mag/CCITT bit. Both of these reside in the General Control Register (address 0Fh). Digital Signal Processor The DSP block is located, functionally, between the serial ST-BUS port and the Filter/CODEC block. Its
7-50
main purpose is to provide both a digital gain control and a half-duplex handsfree switching function. The DSP will also generate the digital patterns required to produce standard DTMF signalling tones as well as single tones and a tone ringer output. A programmable (ON/OFF) offset null routine may also be performed on the transmit PCM data stream. The DSP can generate a ringer tone to be applied to the speakerphone speaker during normal handset operation so that the existing call is not interrupted. The main functional control of the DSP is through two hardware registers which are accessible at any time via the microport. These are the Receive Gain Control Register at address 1Dh and the DSP Control Register at address 1Eh. In addition, other functional control is accomplished via multiple RAM-based registers which are accessible only while the DSP is held in a reset state. This is accomplished with the DRESET bit of the DSP Control Register. Ram-based registers are used to store transmit gain levels (20h for transmit PCM and 21h for transmit DTMF levels), the coefficients for tone and ringer generation (addresses 23h and 24h), and tone ringer warble rates (address 26h). All undefined addresses below 20h are reserved for the temporary storage of interim variables calculated during the execution of the DSP algorithms. These undefined addresses should not be written to via the microprocessor port. The DSP can be programmed to execute the following micro-programs which are stored in instruction ROM, (see PS0 to PS2, DSP Control Register, address 1Eh). All program execution begins at the frame pulse boundary. PS2 PS1 PS0 0 0 0 0 0 1 Micro-program Power up reset program Transmit and receive gain control program; with autonulling of the transmit PCM, if the AUTO bit is set (see address 1Dh) DTMF generation plus transmit and receive gain control program (autonull available via the AUTO control bit) Tone ringer plus transmit and receive gain control program (autonull available via the AUTO control bit) handsfree switching program
0
1
0
0
1
1
1 1 1 1
0 0 1 1
0 1 0 1
Last three selections reserved
MT9094
Note: For the DSP to function it must be selected to operate, in conjunction with the Filter/Codec, in one of the B-Channels. Therefore, one of the B-Channel enable bits must be set (see Timing Control, address 15h : bits CH2 EN and CH 3EN).
Power Up reset Program A hardware power-up reset (pin 6, PWRST) will initialize the DSP hardware registers to the default values (all zeros) and will reset the DSP program counter. The DSP will then be disabled and the PCM streams will pass transparently through the DSP. The RAM-based registers are not reset by the PWRST pin but may be initialized to their default settings by programming the DSP to execute the power up reset program. None of the micro-programs actually require the execution of the power up reset program but it is useful for pre-setting the variables to a known condition. Note that the reset program requires one full frame (125Sec) for execution. Gain Control Program Gain control is performed on converted linear code for both the receive and the transmit PCM. Receive gain control is set via the hardware register at address 1Dh (see bits B0 - B5) and may be changed at any time. Gain in 1.5dB increments is available within a range of +22.5dB to -72dB. Normal operation usually requires no more than a +20 to -20 dB range of control. However, the handsfree switching algorithm requires a large attenuation depth to maintain stability in worst case environments, hence the large (-72 dB) negative limit. Transmit gain control is divided into two RAM registers, one for setting the network level of transmit speech (address 20h) and the other for setting the transmit level of DTMF tones into the network (address 21h). Both registers provide gain control in 1.5dB increments and are encoded in the same manner as the receive gain control register (see address 1Dh, bits B0 - B5). The power up reset program sets the default values such that the receive gain is set to -72.0 dB, the transmit audio gain is set to 0.0dB and the transmit DTMF gain is set to -3.0 dB (equivalent to a DTMF output level of -4dBm0 into the network). Optional Offset Nulling Transmit PCM may contain residual offset in the form of a DC component. An offset of up to fifteen linear bits is acceptable with no degradation of the parameters defined in CCITT G.714. The DPhone-II filter/CODEC guarantees no more than ten linear bits of offset in the transmit PCM when the autonull
routine is not enabled. By enabling autonulling (see AUTO in the Receive Gain Control Register, address 1Dh) offsets are reduced to within one bit of zero. Autonulling circuitry was essential in the first generations of Filter/Codecs to remove the large DC offsets found in the linear technology. Newer technology has made nulling circuitry optional as offered in the DPhone-II. DTMF and Gain Control Program The DTMF program generates a dual cosine wave pattern which may be routed into the receive path as comfort tones or into the transmit path as network signalling. In both cases, the digitally generated signal will undergo gain adjustment as programmed into the Receive Gain Control and the Transmit DTMF Gain Control registers. The composite signal output level in both directions is -4dBm0 when the gain controls are set to 2Eh (-3.0 dB). Adjustments to these levels may be made by altering the settings of the gain control registers. Pre-twist of 2.0dB is incorporated into the composite signal. The frequency of the low group tone is programmed by writing an 8-bit coefficient into Tone Coefficient Register 1 (address 23h), while the high group tone frequency uses the 8-bit coefficient programmed into Tone Coefficient Register 2 (address 24h). Both coefficients are determined by the following equation:
COEFF = 0.128 x Frequency (in Hz)
where COEFF is a rounded off 8 bit binary integer A single frequency tone may be generated instead of a dual tone by programming the coefficient at address 23h to a value of zero. In this case thefrequency of the single output tone is governed by the coefficient stored at address 24h. Frequency (Hz)
697 770 852 941 1209 1336 1477 1633
COEF
59h 63h 6Dh 79h 9Bh ABh BDh D1h
Actual Frequency
695.3 773.4 851.6 945.3 1210.9 1335.9 1476.6 1632.8
% Deviation
-.20% +.40% -.05% +.46% +.20% .00% -.03% -.01%
Table 1
DTMF Signal to distortion: The sum of harmonic and noise power in the frequency band from 50Hz to 3500Hz is typically more than 30dB below the power in the tone pair. All individual harmonics are typically more than 40dB below the level of the low group tone.
7-51
MT9094
Table 1 gives the standard DTMF frequencies, the coefficient required to generate the closest frequency, the actual frequency generated and the percent deviation of the generated tone from the nominal. Tone Ringer and Gain Control Program A locally generated alerting (ringing) signal is used to prompt the user when an incoming call must be answered. The DSP uses the values programmed into Tone Coefficient Registers 1 and 2 (addresses 23h and 24h) to generate two different squarewave frequencies in PCM code. The amplitude of the squarewave frequencies is set to a mid level before being sent to the receive gain control block. From there the PCM passes through the decoder and receive filter, replacing the normal receive PCM data, on its way to the loudspeaker driver. Both coefficients are determined by the following equation: Handsfree Program A half-duplex speakerphone program, fully contained on chip, provides high quality gain switching of the transmit and receive speech PCM to maintain loop stability under most network and local acoustic environments. Gain switching is performed in continuous 1.5dB increments and operates in a complimentary fashion. That is, with the transmit path at maximum gain the receive path is fully attenuated and vice versa. This implies that there is a mid position where both transmit and receive paths are attenuated equally during transition. This is known as the idle state. Of the 64 possible attenuator states, the algorithm may rest in only one of three stable states; full receive, full transmit and idle. The maximum gain values for full transmit and full receive are programmable through the microport at addresses 20h and 1Dh respectively, as is done for normal handset operation. This allows the user to set the maximum volumes to which the algorithm will adhere. The algorithm determines which path should maintain control of the loop based upon the relative levels of the transmit and receive audio signals after the detection and removal of background noise energy. If the algorithm determines that neither the transmit or the receive path has valid speech energy then the idle state will be sought. The present state of the algorithm plus the result of the Tx vs. Rx decision will determine which transition the algorithm will take toward its next stable state. The time durations required to move from one stable state to the next are parameters defined in CCITT Recommendation P.34 and are used by default by this algorithm (i.e., build-up time, hang-over time and switching time). Quiet Code An alternate method of generating ringer tones to the speakerphone speaker is available. With this method the normal receive speech path through the decoder and receive filter is uninterrupted to the handset, allowing an existing conversation to continue. The normal DSP and Filter/CODEC receive gain control is also retained by the speech path. When the OPT bit (DSP Control Register address 1Eh) is set high the DSP will generate the new call tone according to the coefficients programmed into registers 23h, 24h and 26h as before. In this mode the DSP output is no longer a PCM code but a toggling signal which is routed directly through the New Call Tone gain control section to the loudspeaker driver. Refer to the section titled `New Call Tone'. The DSP can be made to send quiet code to the decoder and receive filter path by setting the RxMUTE bit high. Likewise, the DSP will send quiet code in the transmit (DSTo) path when the TxMUTE bit is high. Both of these control bits reside in the DSP Control Register at address 1Eh. When either of these bits are low, their respective paths function normally.
COEFF = 8000/Frequency (Hz)
where COEFF is a rounded off 8 bit binary integer The ringer program switches between these two frequencies at a rate defined by the 8-bit coefficient programmed into the Tone Ringer Warble Rate Register (address 26h). The warble rate is defined by the equation:
Tone duration (warble frequency in Hz) = 500/COEFF
where 0 < COEFF < 256, a warble rate of 5-20Hz is suggested.
7-52
MT9094
Transducer Interfaces
HSPKR+
Four standard telephony transducer interfaces are provided by the DPhone-II. These are:
75
The handset microphone inputs (transmitter), pins M+/M- and the speakerphone microphone inputs, pins MIC+/MIC-. The transmit path is muted/not-muted by the MIC EN control bit. Selection of which input pair is to be routed to the transmit filter amplifier is acomplished by the MIC/HNSTMIC control bit. Both of these reside in the Transducer Control Register (address 0Eh). The nominal transmit path gain may be adjusted to either 6.1dB (suggested for -Law) or 15.4dB (suggested for A-Law). Control of this gain is provided by the MICA/u control bit (General Control Register, address 0Fh). This gain adjustment is in addition to the programmable gain provided by the transmit filter and DSP. The handset speaker outputs (receiver), pins HSPKR+/HSPKR-. This internally compensated, fully differential output driver is capable of driving the load shown in Figure 4. This output is enabled/disabled by the HSSPKR EN bit residing in the Transducer Control Register (address 0Eh). The nominal handset receive path gain may be adjusted to either -12.3dB (suggested for -Law) or - 9.7dB (suggested for A-Law). Control of this gain is provided by the RxA/u control bit (General Control Register, address 0Fh). This gain adjustment is in addition to the programmable gain provided by the receive filter and DSP. The loudspeaker outputs, pins SPKR+/SPKR-. This internally compensated, fully differential output driver is capable of directly driving 6.5vpp into a 40 ohm load. This output is enabled/ disabled by the SPKR EN bit residing in the Transducer Control Register (address 0Eh). The nominal gain for this amplifier is 0.2dB.
1000 pF 150 ohm load
(speaker)
MT9094
75 1000 pF HSPKRground
Figure 4 - Handset Speaker Driver LCD A twelve segment, non-multiplexed, LCD display controller is provided for easy implementation of various set status and call progress indicators. The twelve output pins (Sn) are used in conjunction with 12 segment control bits, located in LCD Segment Enable Registers 1&2 (addresses 12h and 13h), and the BackPlane output pin (BP) to control the on/off state of each segment individually. The BP pin drives a continuous 62.5Hz, 50% duty cycle squarewave output signal. An individual segment is controlled via the phase relationship of its segment driver output pin with respect to the backplane, or common, driver output. Each of the twelve Segment Enable bits corresponds to a segment output pin. The waveform at each segment pin is in-phase with the BP waveform when its control bit is set to logic zero (segment off) and is out-of-phase with the BP waveform when its control bit is set to a logic high (segment on). Refer to the LCD Driver Characteristics for pin loading information. Microport A serial microport, compatible with Intel MCS-51 (mode 0) specifications, provides access to all DPhone-II internal read and write registers. This microport consists of three pins; a half-duplex transmit/receive data pin (DATA1), a chip select pin (CS) and a synchronous data clock pin (SCLK). On power-up reset (PWRST) or with a software reset (RST), the DATA1 pin becomes a bidirectional (transmit/receive) serial port while the DATA2 pin is internally disconnected and tri-stated.
7-53
C-Channel Access to the internal control and status registers of Mitel basic rate, layer 1, transceivers is through the ST-BUS Control Channel (C-Channel), since direct microport access is not usually provided, except in the case of the SNIC (MT8930). The DPhone-II provides asynchronous microport access to the ST-BUS C-Channel information on both DSTo and DSTi via a double-buffered read/write register (address 14h). Data written to this address is transmitted on the C-Channel every frame when enabled by CH1EN (see ST-BUS/Timing Control).
MT9094
All data transfers through the microport are two-byte transfers requiring the transmission of a Command/ Address byte followed by the data byte written or read from the addressed register. CS must remain asserted for the duration of this two-byte transfer. As shown in Figure 5, the falling edge of CS indicates to the DPhone-II that a microport transfer is about to begin. The first 8 clock cycles of SCLK after the falling edge of CS are always used to receive the Command/Address byte from the microcontroller. The Command/Address byte contains information detailing whether the second byte transfer will be a read or a write operation and of what address. The next 8 clock cycles are used to transfer the data byte between the DPhone-II and the microcontroller. At the end of the two-byte transfer CS is brought high again to terminate the session. The rising edge of CS will tri-state the output driver of DATA1 which will remain tri-stated as long as CS is high. Receive data is sampled and transmit data is made available on DATA1 concurrent with the falling edge of SCLK. Lastly, provision is made to seperate the transmit and receive data streams onto two individual pins. This control is given by the DATASEL pin in the General Control Register (address 0Fh). Setting DATASEL logic high will cause DATA1 to become the data receive pin and DATA2 to become the data transmit pin. Only the signal paths are altered by DATASEL; internal timing remains the same in both cases. Tri-stating on DATA2 follows CS as it does on DATA1 when DATASEL is logic low. Use of the DATASEL bit is intended to help in adapting Motorola (SPI) and National Semiconductor (Micro-wire) microcontrollers to the DPhone-II. Note that whereas Intel processor serial ports transmit data LSB first other processor serial ports, including Motorola, transmit data MSB first. It is the responsibility of the microcontroller to provide LSB first data to the DPhone-II. ST-BUS/Timing Control A serial link is required for the transport of data between the DPhone-II and the external digital transmission device. The DPhone-II utilizes the ST-BUS architecture defined by Mitel Semiconductor. Refer to Mitel Application Note MSAN-126. The DPhone-II ST-BUS consists of output and input serial data streams, DSTo and DSTi respectively, a synchronous clock signal C4i, and a framing pulse F0i. The data streams operate at 2048kb/s and are Time Division Multiplexed into 32 identical channels of 64kb/s bandwidth. Frame Pulse (a 244nSec low going pulse) is used to parse the continuous serial data streams into the 32 channel TDM frames. Each frame has a 125Second period translating into an 8 kHz frame rate. Valid frame pulse occurs when F0i is
COMMAND/ADDRESS
DATA INPUT/OUTPUT
COMMAND/ADDRESS
DATA 1 Receive
D0 D1 D2 D3 D4 D5 D6 D7
D0 D1 D2 D3 D4 D5 D6 D7
D0 D1 D2 D3 D4 D5 D6 D7
DATA 1 or DATA 2 Transmit
D0 D1 D2 D3 D4 D5 D6 D7
D0 D1 D2 D3 D4 D5 D6 D7
SCLK
CS Delays due to MCS-51 internal timing which are transparent. The DPhone-II: -latches received data on the falling edge of SCLK -outputs transmit data on the falling edge of SCLK

The falling edge of CS indicates that a COMMAND/ADDRESS byte will be transmitted from the microprocessor. The subsequent byte is always data followed by CS returning high. A new COMMAND/ADDRESS byte may be loaded only by CS cycling high then low again. D7 The COMMAND/ADDRESS byte contains: 1 bit - Read/Write 0 A5 A4 6 bits - Addressing Data 1 bit - Not used, write logic "0" D0 A3 A2 A1 A0 R/W
Figure 5 - Serial Port Relative Timing
7-54
MT9094
logic low coincident with a falling edge of C4i. C4i has a frequency (4096MHz) which is twice the data rate. This clock is used to sample the data at the _ bit-cell position on DSTi and to make data available on DSTo at the start of the bit-cell. C4i is also used to clock the DPhone-II internal functions (i.e., DSP, Filter/CODEC, HDLC) and to provide the channel timing requirements. The DPhone-II uses channels 1, 2 & 3 of the 32 channel frame. These channels are always defined, beginning with the first channel after frame pulse, as shown in Figure 6 (DSTi and DSTo channel assignments). Channels are enabled independently by the three control bits Ch1En -Ch 3En residing in the Timing Control Register (address15h). Transmit PCM on DSTo When high, PCM from the Filter/CODEC and DSP is transmitted on DSTo in the selected ST-BUS channel. When low, DSTo is forced to logic 0 for the corresponding timeslot. If both Ch 2EN and Ch3EN are enabled, default is to channel 2. Receive PCM from DSTi When high, PCM from DSTi is routed to the DSP and Filter/CODEC in the associated channel. If both Ch2EN and Ch3EN are enabled the default is to channel 2. New Call Tone Ch1EN - C-Channel Channel 1 conveys the control/status information for Mitel's layer 1 transceiver. The full 64kb/s bandwidth is available and is assigned according to which transceiver is being used. Consult the data sheet for the selected transceiver for its bit definitions and order of bit transfer. When this bit is high register data is transmitted on DSTo. When low, this timeslot is tri-stated on DSTo. Receive C-Channel data (DSTi) is always routed to the register regardless of this control bit's logic state. C-channel data is transferred on the ST-BUS MSB first by the DPhone-II. Ch2EN and Ch3EN - B1-Channel and B2-Channel Channels 2 and 3 are the B1 and B2 channels, respectively. These bits (Ch2EN and Ch3 EN) are used to enable the PCM channels from/to the DPhone-II as required. The New Call Tone Generator produces a frequency shifted square-wave used to toggle the speaker driver outputs. This is intended for use where a ringing signal is required concurrently with an already established voice conversation in the handset. Programming of the DSP for New Call generator is exactly as is done for the tone ringer micro-program except that the OPT bit (DSP Control Register, address 1Eh) is set high. In this mode the DSP does not produce a frequency shifted squarewave output to the filter CODEC section. Instead the DSP uses the contents of the tone coefficient registers, along with the tone warble rate register, to produce a gated squarewave control signal output which toggles between the programmed frequencies. This control signal is routed to the New Call Tone block when the NCT EN control bit is set (General Control Register, address 0Fh). NCT EN also enables a separate gain control block, for controlling the loudness of the generated ringing signal. With the gain control block set to 0dB the output is at maximum or 6 volts p-p. Attenuation of the applied signal, in three steps of 8 dB, provide the four settings for New Call tone (0, -8, -16, -24 dB). The NCT gain bits (NCTG 0-NCTG1) reside in the FCODEC Gain Control Register 2 (address 0Bh).
125 s F0i Not Used CHANNEL 1 C-channel CHANNEL 2 B1-channel CHANNEL 3 B2-channel CHANNELS 4 - 31 Not Used
DSTi, DSTo
MSB first for C, B1 - & B2Channels
Figure 6 - ST-BUS Channel Assignment
7-55
MT9094
Watchdog To maintain program integrity an on-chip watchdog timer is provided for connection to the microcontroller reset pin. The watchdog output WD (pin 17) goes high while the DPhone-II is held in reset via the PWRST (pin 6). Release of PWRST will cause WD to return low immediately and will also start the watchdog timer. The watchdog timer is clocked on the falling edge of F0i and requires only this input, along with VDD, for operation. If the watchdog reset word is written to the watchdog register (address 11h) after PWRST is released, but before the timeout period (T=512mSec) expires, a reset of the timer results and WD will remain low. Thereafter, if the reset word is loaded correctly at intervals less than 'T' then WD will continue low. The first break from this routine, in which the watchdog register is not written to within the correct interval or it is written to with incorrect data, will result in a high going WD output after the current interval 'T' expires. WD will then toggle at this rate until the watchdog register is again written to correctly.
5-BIT WATCHDOG RESET WORD
W4 X X X 0
x=don't care
W3 1
W2 0
W1 1
W0 0
Test Loops Detail LBio and LBoi Loopback Register (address 16h) LBio Setting this bit causes data on DSTi to be looped back to DSTo directly at the pins. The appropriate channel enables Ch1EN -Ch3EN must also be set. Setting this bit causes data on DSTo to be looped back to DSTi directly at the pins.
LBoi
DPhone-II Register Map
Address (Hex) 00-09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17-1C 1D 1E 1F 20 21 22 23 24 25 26 27-3F WRITE RESERVED FCODEC GAIN CONTROL REGISTER 1 FCODEC GAIN CONTROL REGISTER 2 RESERVED RESERVED TRANSDUCER CONTROL REGISTER GENERAL CONTROL REGISTER RESERVED WATCHDOG REGISTER LCD SEGMENT ENABLE REGISTER 1 LCD SEGMENT ENABLE REGISTER 2 C-CHANNEL REGISTER (to DSTo) TIMING CONTROL REGISTER LOOP-BACK REGISTER RESERVED RECEIVE GAIN CONTROL REGISTER DSP CONTROL REGISTER RESERVED TRANSMIT AUDIO GAIN REGISTER TRANSMIT DTMF GAIN REGISTER RESERVED TONE COEFFICIENT REGISTER 1 TONE COEFFICIENT REGISTER 2 RESERVED TONE RINGER WARBLE RATE REGISTER RESERVED READ RESERVED VERIFY VERIFY RESERVED RESERVED VERIFY VERIFY RESERVED NOT USED VERIFY VERIFY C-CHANNEL REGISTER (from DSTi) VERIFY VERIFY RESERVED VERIFY VERIFY RESERVED VERIFY VERIFY RESERVED VERIFY VERIFY RESERVED VERIFY RESERVED
7-56
MT9094
Register Summary
This section contains a complete listing of the DPhone-II register addresses, the control/status bit mapping associated with each register and a definition of the function of each control/status bit. The Register Summary may be used for future reference to review each of the control/status bit definitions without the need to locate them in the text of the functional block descriptions.
ADDRESSES 00h and 09h are RESERVED FCODEC Gain Control Register 1 7 RxFG2 RxFG1 RxFG0 6 5 4 3 ADDRESS = 0Ah WRITE/READ VERIFY TxFG2 TxFG1 TxFG0 2 1 0
Power Reset Value X000 X000
Receive Gain Setting (dB)
(default)
RxFG2 0 0 0 0 1 1 1 1
RxFG 1 0 0 1 1 0 0 1 1
RxFG0 0 1 0 1 0 1 0 1
Transmit Gain Setting (dB) (default) 0 1 2 3 4 5 6 7
TxFG2 0 0 0 0 1 1 1 1
TxFG1 0 0 1 1 0 0 1 1
TxFG0 0 1 0 1 0 1 0 1
0
-1 -2 -3 -4 -5 -6 -7
RxFGn = Receive Filter Gain n
TxFGn = Transmit Filter Gain n
FCODEC Gain Control Register 2 7 6 NCTG1 NCTG0 5 4 3 STG2 2 STG1 1
ADDRESS = 0Bh WRITE/READ VERIFY STG0 0
Power Reset Value 0X00 X000
Gain (dB)
0 (default)
NCTG 1 0 0 1 1
NCTG0 0 1 0 1
Side-tone Gain Setting (dB) (default) OFF -9.96 -6.64 -3.32 0 3.32 6.64 9.96
STG2 0 0 0 0 1 1 1 1
STG1 0 0 1 1 0 0 1 1
STG0 0 1 0 1 0 1 0 1
-8 -16 -24
NCTGn = New Call Tone Gain n
STGn= Side-tone Gain n
ADDRESSES 0Ch and 0Dh are RESERVED
Note: Bits marked "-" are reserved bits and should be written with logic "0".
7-57
MT9094
Transducer Control Register PuFC 7
PuFC Tfhp DIAL EN SIDE EN MIC EN MIC/HNSTMIC SPKR EN HSSPKR EN
ADDRESS = 0Eh WRITE/READ VERIFY SIDE EN 4 MIC EN 3
MIC/ HNSTMIC
Tfhp 6
DIAL EN 5
2
SPKR EN 1
HSSPKR EN
Power Reset Value 0000 0000
0
When high, the Filter/CODEC is powered up. When low, the Filter/CODEC is powered down. If PuFC, SPKR EN and HSSPKR EN are all low then the VRef/VBias circuit is also powered down. When high, an additional high pass function (passband beginning at 400Hz) is inserted into the transmit path. When low, this highpass filter is disabled. When high, a first order lowpass filter is inserted into the receive path (3dB = 1kHz). When low, this lowpass filter is disabled. When high, the sidetone path is enabled (assuming STG2-0 are not all low). When low, the sidetone path is disabled. When high, the selected transmit microphone is enabled to the transmit filter section. When low, the microphone path is muted. When high, the handsfree microphone (pins MIC) is muxed into the transmit path. When low, the handset microphone (pins M) is muxed into the transmit path. Both are contingent on "MIC EN". When high, the handsfree loudspeaker driver is powered up. When low, this driver is powered down. When high, the handset speaker driver is powered up. When low, this driver is powered down.
General Control Register RST 7
RST DATASEL
ADDRESS = 0Fh WRITE/READ VERIFY A/ 5
Sign-Mag/ CCITT
DATA SEL 6
Rx A/ 3
MIC A/ 2
Side A/ 1
NCT EN 0
Power Reset Value 0000 0000
4
Active high reset. Performs the same function as PWRST but does not affect the microport or the watchdog circuits. To remove this reset a PWRST must occur or this bit must be written low. When high, the microport transmit and receive are performed on separate pins. DATA1 is receive while DATA2 is transmit. When low, the microport conforms to Intel MCS-51 mode 0 specifications; DATA1 is a bi-directional (transmit/receive) serial data pin while DATA2 is internally disconnected and tri-stated. When high, A-Law (de)coding is selected. When low, -Law (de)coding is selected.
A/u
Sign-mag/CCITT When high, sign-magnitude bit coding is selected, When low, true CCITT PCM coding is selected. When high, the receiver driver nominal gain is set at -9.7 dB. When low this driver nominal gain is set at -12.3 dB. RxA/u When high, the transmit amplifier nominal gain is set at 15.4 dB. When low this amplifier nominal gain is set at 6.1 MICA/u dB. SIDEA/u When high, the side-tone nominal gain is set at -18.8 dB. When low this nominal gain is set at -11 dB. NCT EN When high, the new call tone generator output from the DSP is selected as the source for the loudspeaker path. When low, the CODEC output is selected for the loudspeaker path. Note that SPKR EN must also be set high for new call tone to function.
ADDRESS 10h is RESERVED
Note: Bits marked "-" are reserved bits and should be written with logic "0".
7-58
MT9094
Watchdog Register 7 6 5 W4 4 W3 3 W2 2 W1 1 W0 0 ADDRESS = 11h WRITE
Power Reset Value XXX0 1010
WATCHDOG RESET WORD - XXX01010
LCD Segment Enable Register 1 SC8 7 SC7 6 SC6 5 SC5 4 SC4 3 SC3 2 SC 2 1
ADDRESS = 12h WRITE/READ VERIFY SC1 0
Power Reset Value 0000 0000
Twelve segment control bits used for the LCD outputs. When high the respective segment is on. When low the respective segment is off.
LCD Segment Enable Register 2 7 6 5 4 SC12 3 SC11 2 SC10 1
ADDRESS = 13h WRITE/READ VERIFY SC9 0
Power Reset Value XXXX 0000
Twelve segment control bits used for the LCD outputs. When high the respective segment is on. When low the respective segment is off.
C-Channel Register D7 7 D6 6 D5 5 D4 4 D3 3 D2 2 D1 1 D0 0
ADDRESS = 14h WRITE/READ
Power Reset Value Write = 1111 1111 Read = Not Applicable
Micro-port access to the ST-BUS C-Channel information.
Note: Bits marked "-" are reserved bits and should be written with logic "0".
7-59
MT9094
Timing Control Register 7
All bits active high: Ch2EN and Ch3EN Channels 2 and 3 are the B1 and B2 channels, respectively. PCM associated with the DSP, Filter/CODEC and transducer audio paths is conveyed in one of these channels as selected in the timing control register.
ADDRESS = 15h WRITE/READ VERIFY 5 4 CH3EN CH2EN CH1EN 3 2 1 0
Power Reset Value XX0X 0000
6
Transmit B1 and B2 data on DSTo
When high PCM from the Filter/CODEC and DSP is transmitted on DSTo in the associated channel. When low DSTo is forced to logic 0 for the corresponding timeslot. If both Ch2EN and Ch3EN are enabled, data defaults to channel 2.
Receive B1 and B2 data on DSTi
When enabled PCM from DSTi is routed to the DSP and Filter/CODEC in the associated channel. If both Ch2EN and Ch3EN are enabled, data input defaults to channel 2. Ch1EN Channel 1 conveys the control/status information for the layer 1 transceiver. The full 64kb/s bandwidth is available and is assigned according to which transceiver is being used. Consult the data sheets for the transceiver selected. When high register data is transmitted on DSTo. When low this timeslot is tri-stated on DSTo. Receive C-Channel data (DSTi) is always routed to the register regardless of this control bit's logic state.
Loop-back Register 7
LBio LBoi
ADDRESS = 16h WRITE/READ VERIFY LBoi 5 4 3 2 1 0
Power Reset Value X00X XXXX
LBio 6
Active high enables data from the ST-BUS input to be looped back to the ST-BUS output directly at the pins. The DSTo tri-state driver must also be enabled using one of the channel enable signals. Active high enables data from ST-BUS output to be looped back to the ST-BUS input directly at the pins.
ADDRESSES 17h - 1Ch are RESERVED
Note: Bits marked "-" are reserved bits and should be written with logic "0".
7-60
MT9094
Receive Gain Control Register 7
AUTO B5-B0
ADDRESS = 1Dh WRITE/READ VERIFY B4 4 B3 3 B2 2 B1 1 B0 0
Power Reset Value 0000 0000
AUTO 6
B5 5
When high autonulling of the transmit PCM is enabled. When low, autonulling is disabled. This bit is used in conjunction with the PS2 - PS0 bits of the DSP Control Register at address 1Eh. These 6 bits (indicated below in hexadecimal) are decoded to control Rx PCM gain:
B5-B0 3F 3E 3D 3C 3B 3A 39 38 37 36 35 34 33 32 31 30 2F 2E 2D 2C 2B 2A 29 28 27 26 25 24 23 22 21 20
Gain Setting (dB) +22.5 +21.0 +19.5 +18.0 +16.5 +15.0 +13.5 +12.0 +10.5 +9.0 +7.5 +6.0 +4.5 +3.0 +1.5 +0.0 -1.5 -3.0 -4.5 -6.0 -7.5 -9.0 -10.5 -12.0 -13.5 -15.0 -16.5 -18.0 -19.5 -21.0 -22.5 -24.0
B5-B0 1F 1E 1D 1C 1B 1A 19 18 17 16 15 14 13 12 11 10 0F 0E 0D 0C 0B 0A 09 08 07 06 05 04 03 02 01 00
Gain Setting (dB) -25.5 -27.0 -28.5 -30.0 -31.5 -33.0 -34.5 -36.0 -37.5 -39.0 -40.5 -42.0 -43.5 -45.0 -46.5 -48.0 -49.5 -51.0 -52.5 -54.0 -55.5 -57.0 -58.5 -60.0 -61.5 -63.0 -64.5 -66.0 -67.5 -69.0 -70.5 -72.0
Note: B0-B5 of addresses 20h and 21h are encoded in the same manner
Note: Bits marked "-" are reserved bits and should be written with logic "0".
7-61
MT9094
DSP Control Register PS2 7
OPT: RxMUTE: TxMUTE: DRESET: PS2-PS0:
ADDRESS = 1Eh WRITE/READ VERIFY PS0 5 OPT 4
RxMUTE TxMUTE
PS1 6
1
DRESET 0
Power Reset Value 0000 0000
3
2
When high, the tone ringer is in New Call tone mode. When low the normal tone ringer program is executed. This bit when high turns off the receive PCM channel, substituting quiet code. This bit when high turns off the transmit PCM channel, substituting quiet code. This bit (when high) enables the DSP. If low, no programs are executed, the master clock is disabled and the program counter is reset to zero. These bits are program select bits for the DSP Rom programs. PS2 0 0 0 0 1 1 1 1 PS1 0 0 1 1 0 0 1 1 PS0 0 1 0 1 0 1 0 1 MICRO-PROGRAM Power up reset program Gain control program DTMF & Gain control program Tone Ringer & Gain control program Handsfree program Reserved Reserved Reserved
ADDRESS 1Fh is RESERVED
Transmit Audio Gain Register 7 6 B5 5 B4 4 B3 3 B2 2 B1 1
ADDRESS = 20h WRITE/READ VERIFY B0 0
Power Reset Value XX11 0000
This register controls the transmit speech path gain in 1.5dB steps as in Receive Gain Register (address 1Dh).
Transmit DTMF Gain Register 7 6 B5 5 B4 4 B3 3 B2 2 B1 1
ADDRESS = 21h WRITE/READ VERIFY B0 0
Power Reset Value XX10 1110
This register controls the transmit DTMF level in 1.5dB steps as in Receive Gain Register (address 1Dh).
ADDRESS 22h is RESERVED
Note: Bits marked "-" are reserved bits and should be written with logic "0".
7-62
MT9094
Tone Coeff Register 1-DTMF or Tone Ringer B7 7 B6 6 B5 5 B4 4 B3 3 B2 2 B1 1 ADDRESS = 23h WRITE/READ VERIFY B0 0
Power Reset Value 0000 0000
This register is used to program the low-group frequency of the DTMF program. The tone coefficient is calculated as follows:
COEF = 0.128 x Frequency where: Frequency is in Hz (note: COEF must be converted to an 8 bit binary integer) Highest frequency possible: Lowest frequency possible: Frequency resolution: Pre-twist: 1992.2 Hz 7.8 Hz 7.8 Hz -2.1dB 0.2dB
This register is used to program the first frequency of the squarewave ringer program. The tone coefficient is calculated as follows:
COEF = 8000 / Frequency where: Frequency is in Hz (note: COEF must be rounded off and converted to an 8 bit binary integer) Highest frequency possible: Lowest frequency possible: Frequency resolution: 4000 Hz 31.4 Hz non-linear
This tone can be disabled by writing zero to this register for single tone generation.
Tone Coeff Register 2-DTMF or Tone Ringer B7 7 B6 6 B5 5 B4 4 B3 3 B2 2 B1 1
ADDRESS = 24h WRITE/READ VERIFY B0 0
Power Reset Value 0000 0000
This register is used to program the high-group frequency of the DTMF program. The tone coefficient is calculated as follows:
COEF = 0.128 x Frequency where: Frequency is in Hz (note: COEF must be converted to an 8 bit binary integer) Highest frequency possible: Lowest frequency possible: Frequency resolution: Pre-twist:
coefficient register 1.
1992.2 Hz 7.8 Hz 7.8 Hz 0dB
This register is used to program the second frequency of the squarewave program. The tone coefficient is calculated similarly to tone
ADDRESS 25h is RESERVED Tone Ringer Warble Rate-Tone Ringer B7 7 B6 6 B5 5 B4 4 B3 3 B2 2 B1 1 ADDRESS = 26h WRITE/READ VERIFY B0 0
Power Reset Value 0000 0000
The tone ringer will switch between squarewave frequencies at a warble frequency defined by this register. The relationship between the duration period of each tone and the 8 bit warble coefficient is as follows:
Tone duration (warble frequency) = 500 / COEF where: Frequency is in Hz, and 0COEF <256 Highest frequency possible: Lowest frequency possible: 500 Hz 2.0 Hz
Addresses: 27h to 2Dh are transmit and receive gains and coefficients used by the filters in the handsfree decision circuit. 2Eh to 3Fh are scratch-pad ram locations used by the DSP algorithms as temporary storage during calculations.
7-63
MT9094
Applications
To maintain a fully differential topology in the transmit path the suggested connection scheme for the transmit microphones is shown in Figure 7. However, it is possible to use a single-ended arrangement as shown in Figure 8 for the transmit interface. In this case the dynamic range of the MT9094 is reduced by half. In both figures the output drivers are connected in a fully differential manner. The MT9094 is a member of the Mitel family of digital terminal equipment components. There are two
7
transmisssion devices which connect directly with the MT9094 to complete an application; the MT8930 (SNIC) and the MT8971/72 (DSIC/DNIC). An ISDN 4-wire "TE" function is implemented with the MT8930/MT9094 combination. A 2-wire digital phone for PABX, key-systems and other proprietary applications is implemented with the MT8971/72/ MT9094 combination. Figures 9 and 10 show the 4-wire and 2-wire applications, respectively.
330 + R
+5V + 100K
T
0.1F
511 +
10F Electret Microphone
Av = 1+
2R T
R
VBias 100K
0.1F
+
511
330 + R
+5V 100K
T
+ 511 + Electret Microphone 10F
0.1F
Av = 1+ 0.1F 0.1F VBias +5V 6 DSTi DSTo C4i F0i 10 11 12 SCLK DATA2 Serial Microport INTEL MCS-51 DATA1 CS WD 13 14 15 16 17 7 8 9 5 4 3 2 1 44 43 42 41 40
2R T
R
VBias 100K
+ -
0.1F
511
39 38 37 36 75
+
40 nom. 32 min.
ST-BUS Port to Transmission Device
150 35 +5V 75 1000pF
MT9094
34 33 32 31 30 29 Note: Single-ended configurations reduce dynamic range by a factor of two. LCD 1000pF caps are optional .1F 1000pF
18 19 20 21 22 23 24 25 26 27 28
LCD
Figure 7 - Application Circuit - fully differential audio input
7-64
MT9094
+ -
R
VBias
T
+5V
330
+ 10F + Electret Microphone
1F
1K
330 + -
R
VBias
T
+5V 1F 1K +
+ 10F
0.1F 0.1F VBias +5V 6 DSTi ST-BUS Port to Transmission Device DSTo C4i F0i 7 8 9 10 11 12 SCLK 13 Serial Microport INTEL MCS-51 DATA2 14 5 4 3 2 1 44 43 42 41 40 39 38 37 36 75 +
Electret Microphone
40 nom. 32 min.
150 35 +5V 75 1000pF 1000pF caps are optional
MT9094
34 33 32 31 30 29 Note: Single-ended configurations reduce dynamic range by a factor of two. LCD .1F 1000pF
DATA1 15 CS 16 WD 17 18 19 20 21 22 23 24 25 26 27 28 LCD
Figure 8 - Application Circuit - single-ended audio input
7-65
MT9094
LTx C4b CCITT ISDN Reference Point S Interface DC to DC Converter F0b 5 Volts VBias MT8930 SNIC with HDLC Controller DSTo DSTi C4i HSPKRF0i DSTi DSTo MT9094 DPhone- M+ MMIC+ AAAAA MIC- AAAAA Microphone AAAAA AAAAA AAAAA SPKR+ SPKRSpeaker Handset
HSPKR+
AD0-7
LRx
IRQ (ALE) (RD) (WR)
IRQ CS SCLK
DATA1
AS (ALE) AD0-7 8051 INTEL
E (RD)
R/W (WR)
IRQ
MCS51
Figure 9 - CCITT ISDN Voice/Data Terminal Equipment - TE1
5 volts DC to DC CONVERTER MT8972 Lin ZT Twisted Pair to Central PBX Lout DNIC C4 F0 DSTo DSTi C4i F0i DSTi DSTo MT9094 DPhone-
HSPKR+ HSPKRM+ MMIC+ AAAAA AAAAA AAAAA MIC- AAAAA Microphone AAAAA Handset
SPKR+ SPKR10.24 MHz Speaker
SCLK CS
DATA1
INTEL MCS-51
Figure 10 - Voice/Data Digital Telephone Set Circuit
7-66
MT9094
Programming Examples
Some examples of the programming steps required to set-up various telephony functions are given. Note that these steps are from the power-up reset default Standard Full-duplex handset call
Description select B-Channel of operation reset DSP set Rx gain (ie 0dB with Tx set Tx gain (ie 0dB) start Rx gain program Address 15h 1Eh 1Dh 20h 1Eh 0Eh DATA bits 2 or 3 (as required) 00h 70h (or as required) 30h (or as required) 21h 99h
definition. If some other state is currently true then some programming steps may be omitted while new ones may be required.
autonull)
select transducers and turn on sidetone and filter/CODEC set sidetone gain optional: set CODEC Rx and Tx gain select A-Law versus -Law
0Bh
04h (for 0dB or as required)
0Ah 0Fh
as required (0dB default) bits 1-5 (as required)
Half-Duplex handsfree operation
Description select B-Channel of operation reset DSP set Rx gain (ie 12 dB) set Tx gain (ie 0dB) start handsfree program select transducers and filter/CODEC and turn off sidetone optional: set CODEC Rx and Tx gain select A-Law versus -Law Address 15h 1Eh 1Dh 20h 1Eh 0Eh DATA bits 2 or 3 (as required) 00h 38h (or as required) 30 h (or as required) 81h 1Eh
0Ah 0Fh
as required (0dB default) bits 1-5 (as required)
Generate tone ringer
Description select B-Channel of operation reset DSP set Rx gain (ie 0 dB with Tx autonull) set Tx gain (ie 0dB) write tone coefficient 1 write tone coefficient 2 write warble tone rate coefficient start tone ringer program select speaker and filter/CODEC and turn off sidetone control ringer cadence by toggling RxMUTE Address 15h 1Eh 1Dh 20h 23h 24h 26h 1Eh 0Eh DATA bits 2 or 3 (as required) 00h 70h (or as required) 30h (or as required) as required as required as required 61h 82h
1Eh
61 69 61 69
(on) (off) (on) (off) etc...
7-67
MT9094
Generate DTMF tones
Description select B-Channel of operation reset DSP set Rx DTMF gain (ie -20 dBm0) set Tx audio gain (ie 0dB) set Tx DTMF gain (ie -4dBm0) write tone coefficient 1 write tone coefficient 2 start DTMF program select transducers and filter/CODEC (PuFC) and turn off sidetone optional: set CODEC Rx gain send tones in only Rx or Tx by disabling RxMUTE or TxMUTE appropriately Address 15h 1Eh 1Dh 20h 21h 23h 24h 1Eh 0Eh DATA bits 2 or 3 (as required) 00h 22h (or as required) 30h (or as required) 2Eh (or as required) as required as required 41h as required
0Ah 1Eh
as required (0dB default) as required
New Call Tone
Description Address DATA Assume that a B-Channel of operation has already been selected for the concurrent handset conversation. If this is not true select one. select B-Channel of operation reset DSP 15h 1Eh bits 2 or 3 (as required) 00h
********************************************************************************** set Rx gain (ie 0 dB with Tx autonull) set Tx gain (ie 0dB) 1Dh 20h 70h (or as required) 30h (or as required)
Note: these two steps a required for the concurrent conversation only and do not affect new call tone generation. See Standard Full-duplex handset call for required programming. ********************************************************************************** write write write start tone coefficient 1 tone coefficient 2 warble rate coefficient new call tone ringer program 23h 24h 26h 1Eh 0Bh 0Eh as required as required as required 71h NCTG2-1 (as required) 02h 9Bh (assuming a concurrent handset call) 01h (assuming all other bits are -Law 71h (on) 31h (off) 71h (on) etc...
set new call tone gain select speaker
enable new call tone control ringer cadence by toggling between gain control and tone ringer with gain control programs
0Fh 1Eh
7-68
MT9094
Absolute Maximum Ratings
Parameter 1 2 3 4 5 6 7 Supply Voltage Voltage on any I/O pin Current on any I/O pin (transducers excluded) Storage Temperature Power Dissipation (package) Static Discharge Latch-up Current Plastic Symbol VDD-VSS VI/VO II/IO TS PD ESD ILU 100 -65 Min -0.3 VSS-0.3 Max 7 VDD+0.3 20 +150 750 2.0 Units V V mA C mW KV mA
Recommended Operating Conditions - Voltages are with respect to VSS unless otherwise stated.
Characteristics 1 2 3 4 5 Supply Voltage Input Voltage (high) * Input Voltage (low) * Operating Temperature Clock Frequenecy (C4i) Sym VDD VIH VIL TA fCLK Min 4.75 2.4 VSS -40 4092 4096 Typ 5 Max 5.25 VDD 0.4 +85 4100 Units V V V C kHz Noise margin = 400mV Noise margin = 400mV Test Conditions
* Excluding PWRST which is a Schmitt Trigger Input.
Power Characteristics
Characteristics 1 2 Supply Current (clock enabled, all functions off Supply Current by function Filter/Codec DSP Handset Driver (bias only, no signal) Speaker Driver (bias only, no signal) Timing Control, C-Channel, ST-BUS, etc. Total all functions enabled Sym IDDC1 Min Typ Max 6 Units mA Test Conditions
IDDF1 IDDF3 IDDF4 IDDF5 IDDF6 IDDFT
1.5 1.5 1.5 1.5 1.0 7.0 14
mA mA mA mA mA mA
See Note 1. See Note 1.
See Note 2.
Note 1: Power delivered to the load is in addition to the bias current requirements. Note 2: I DDFT is not additive to IDDC1.
7-69
MT9094
DC Electrical Characteristics (except LCD Drive Pins) - Voltages are with respect to ground (VSS) unless
otherwise stated.
Characteristics 1 2 3 4 5 Input HIGH Voltage TTL inputs Input LOW Voltage TTL inputs VBias Voltage Output Input Leakage Current 1 Positive Going Threshold Voltage (PWRST only) Negative Going Threshold Voltage (PWRST only) Output HIGH Current TTL O/P
Sym VIN VIL VBias IIZ VT+ VTIOH
Min 2.0
Typ
Max
Units V
Test Conditions
0.8 VDD/2 0.1 3.3 1.5 -10 -16 10
V V A Max. Load = 100A VIN = VDD to VSS
6
mA
VOH = 2.4V DSTo, WD, DATA1, DATA2 VOL = 0.4V DSTo, WD, DATA1, DATA2 No load VOUT = VDD and VSS
7
Output LOW Current TTL O/P
IOL
5
10
mA
8 9 10 11
Output Voltage Output Leakage Current 1 Output Capacitance Input Capacitance
VRef IOZ Co Ci
(VDD/2)-1.5
V 10 A pF pF
0.01 15 10
DC Electrical Characteristics are over recommended temperature and range & recommended power supply voltages. Typical figures are at 25C and are for design aid only: not guaranteed and not subject to production testing. 1 TTL compatible pins only.
DC Electrical Characteristics - LCD Drive Pins - Voltages are with respect to ground (VSS) unless otherwise
stated.
Characteristics 1 2 3 4 5 Output High Voltage Both Segment and Backplane Output Low Voltage Both Segment and Backplane Segment Output Load Backplane Output Load Frequency
Sym VOH VOL
Min 4.8 ------62
Typ --------62.5
Max --0.2 1200 7200 63
Units Volts Volts pF pF Hz
Test Conditions Io = 1mA, VDD = 5V Io = 1mA, VDD = 5V
7-70
MT9094
AC Characteristics for A/D (Transmit) Path - 0dBm0 = 1.421Vrms for -Law and 1.477Vrms for A-Law, at the
CODEC. (VRef = 0.5 volts and VBias = 2.5 volts). All parameters pertain exclusively to the Filter/CODEC except absolute half-channel gain and transmit idle channel noise.
Characteristics 1 Analog input equivalent to overload decision Absolute half-channel gain. Transmit filter gain = 0dB setting
Sym ALi3.17 ALi3.14 GAX1 GAX2
Min
Typ 5.79 6.0
Max
Units Vp-p Vp-p
Test Conditions -Law A-Law Both at CODEC MICA/u=0* MICA/u=1* MIC or M to PCM 1020Hz MICA/u=0* MICA/u=1* from nominal MIC or M to PCM 1020Hz 3 to -40 dBm0 -40 to -50 dBm0 -50 to -55 dBm0 0 to -30dBm0 -40 dBm0 -45 dBm0 -Law A-Law
2
5.4 14.7
6.1 15.4
6.8 16.1
dB dB
All other transmit filter settings (1 to 7dB) are in addition to 0dB setting
GAX1 GAX2
-0.15 -0.15
+0.15 +0.15
dB dB
3
Gain tracking vs. input level CCITT G.714 Method 2 Signal to total Distortion vs. input level CCITT G.714 Method 2 Transmit Idle Channel Noise Gain relative to gain at 1020Hz <50 Hz 60 Hz 200 Hz 300-3000 Hz 3000-3400 Hz 4000 Hz >4600 Hz Absolute Delay Group Delay relative to D AX
GTX
-0.3 -0.6 -1.6 35 29 24 15 -72
0.3 0.6 1.6
dB dB dB dB dB dB
4
DQX
5 6
NCX NPX GRX
17.5 -66 -25 -30 0.0 0.25 0.25 -12.5 -25
dBrnC0 dBrn0p dB dB dB dB dB dB dB s s s s s dB dB dB dB
-0.25 -0.9
7 8
DAX DDX
360 750 380 130 750 37 40 35 40
at frequency of minimum delay 500-600 Hz 600-1000 Hz 1000-2600 Hz 2600 - 2800 Hz 100mVrms signal -Law PSSR1-3 not production tested
9
Power Supply Rejection f=1020 Hz f=0.3 to 3 kHz f=3 to 4 kHz f=4 to 50 kHz
PSSR PSSR1 PSSR2 PSSR3
AC Electrical Characteristics are over recommended temperature range & recommended power supply voltages. Typical figures are at 25C and are for design aid only: not guaranteed and not subject to production testing. * Note: MICA/u, refer to General Control Register, address 0Fh.
7-71
MT9094
AC Characteristics for D/A (Receive) Path - 0dBm0 = 1.421Vrms for -Law and 1.477Vrms for A-Law, at the CODEC.
(V Ref = 0.5 volts and VBias = 2.5 volts). All parameters pertain exclusively to the Filter/CODEC except absolute gain and receive idle channel noise.
Characteristics 1 Analog output at the CODEC full scale 2 Absolute half-channel gain. Receive filter gain = 0dB setting
Sym ALo3.17 ALo3.14 GAR1 GAR2 GAR3 GAR1 GAR2 GAR3
Min
Typ 5.704 5.906
Max
Units Vp-p Vp-p
Test Conditions -Law A-Law PCM to SPKR PCM to HSPKR, RxA/u=0* PCM to HSPKR, RxA/u=1* 1020Hz PCM to SPKR PCM to HSPKR, RxA/u=0* PCM to HSPKR, RxA/u=1* from nominal 1020Hz 3 to -40 dBm0 -40 to -50 dBm0 -50 to -55 dBm0 0 to -30dBm0 -40 dBm0 -45 dBm0 -Law A-Law
-0.6 -12.9 -10.3 -0.15 -0.15 -0.15
0.2 -12.3 -9.7
0.95 -11.8 -9.1 +0.15 +0.15 +0.15
dB dB dB dB dB dB
All other receive filter settings (-1 to -7dB) are in addition to 0dB setting
3 Gain tracking vs. input level CCITT G.714 Method 2 4 Signal to total distortion vs. input level CCITT G.714 Method 2 5 Receive Idle Channel Noise 6 Gain relative to gain at 1020Hz 200 Hz 300-3000 Hz 3000-3400 Hz 4000 Hz >4600 Hz 7 Absolute Delay 8 Group Delay relative to DAR
GTR
-0.3 -0.6 -1.6 35 29 24
0.3 0.6 1.6
dB dB dB dB dB dB
GQR
NCR NPR GRR -0.25 -0.90
15.5 -75 0.25 0.25 0.25 -12.5 -25 240 750 380 130 750 -74 -80
dBrnC0 dBrn0p dB dB dB dB dB s s s s s dB dB
DAR DDR
at frequency of min. delay 500-600 Hz 600-1000 Hz 1000-2600 Hz 2600 - 2800 Hz G.714.16
9 Crosstalk
D/A to A/D A/D to D/A
CTRT CTTR
AC Electrical Characteristics are over recommended temperature range & recommended power supply voltages. Typical figures are at 25C and are for design aid only: not guaranteed and not subject to production testing. * Note: RxA/u, refer to General Control Register, address 0Fh.
AC Electrical Characteristics for Side-tone Path
Characteristics 1 Absolute path gain Gain adjust = 0dB Sym GAS1 GAS2 Min -17.2 -13.1 Typ -16.7 -12.6 Max 16.2 -12.1 Units dB dB Test Conditions SIDEA/u, MICA/u, RxA/u all 0 SIDEA/u, MICA/u, RxA/u all 1 M inputs to HSPKR outputs 1000Hz SIDEA/u=0 SIDEA/u=1 from nominal relative measurements w.r.t. GAS1 & GAS2
All other settings (-9.96 to +9.96dB)
GAS GAS
-0.3 -0.3
+0.3 +0.3
dB dB
AC Electrical Characteristics are over recommended temperature range & recommended power supply voltages. Typical figures are at 25C and are for design aid only: not guaranteed and not subject to production testing. 7-72
MT9094
AC Electrical Characteristics for New Call Tone
Characteristics 1 New Call Tone Output voltage (SPKR+ to SPKR-) Sym VNCT1 VNCT2 VNCT3 VNCT4 Typ 6.0 2.390 0.950 0.380 Units Vp-p Vp-p Vp-p Vp-p Test Conditions NCTG0=0, NCTG1=0 NCTG0=1, NCTG1=0 NCTG0=0, NCTG1=1 NCTG0=1, NCTG1=1 load > 34 ohms across SPKR
AC Electrical Characteristics are over recommended temperature range & recommended power supply voltages. Typical figures are at 25C and are for design aid only: not guaranteed and not subject to production testing.
Electrical Characteristics for Analog Outputs
Characteristics 1 2 3 Earpiece load impedance Allowable Earpiece capacitive load Earpiece harmonic distortion Sym EZL ECL ED Min 260 Typ 300 300 0.5 Max Units ohms pF % Test Conditions across HSPKR each pin: HSPKR+ HSPKR-
300 ohms load across HSPKR (tol-15%),RxA/u=1, VO693Vrms, Rx gain=0dB across SPKR each pin SPKR+ SPKR-
4 5 6
Speaker load impedance Allowable Speaker capacitive load Speaker harmonic distortion
SZL SCL SD
34
40 300 0.5
ohms pF %
40 ohms load across SPKR (tol-15%), VO6.2Vp-p, Rx gain=0dB
Electrical Characteristics are over recommended temperature range & recommended power supply voltages. Typical figures are at 25C and are for design aid only: not guaranteed and not subject to production testing.
Electrical Characteristics for Analog Inputs
Characteristics 1 Differential input voltage without overloading CODEC Sym VID Min Typ Max 2.87 1.02 Units Vp-p Vp-p Test Conditions MICA/u=0, A/u=0 MICA/u=0, A/u=1 across MIC or M inputs, Tx filter gain = 0dB setting MIC+, MIC-, M+ or Mto VSS.
2
Input impedance
ZI
50
k
Electrical Characteristics are over recommended temperature range & recommended power supply voltages. Typical figures are at 25C and are for design aid only: not guaranteed and not subject to production testing.
7-73
MT9094
AC Electrical Characteristics - ST-BUS Timing (See Figure 11)
Characteristics 1 2 3 4 5 6 7 8 9 10 C4i Clock Period C4i Clock High Period C4i Clock Low Period C4i Clock Transition Time F0i Frame Pulse Setup Time F0i Frame Pulse Hold Time F0i Frame Pulse Width Low DSTo Delay DSTi Setup Time DSTi Hold Time Sym tC4P tC4H tC4L tT tF0iS tF0iH tF0iW tDSToD tDSTiS tDSTiH 30 50 50 50 150 100 125 Min 243 121 121 Typ 244 122 122 20 Max 245 123 123 50 Units ns ns ns ns ns ns ns ns ns ns CL=50 pF Test Conditions
Timing is over recommended temperature range & recommended power supply voltages. Typical figures are at 25C and are for design aid only: not guaranteed and not subject to production testing.
tT tC4P C4i 2.4V 0.4V tDSToD
1 bit cell tC4H tC4L
tT
DSTo
2.4V 0.4V tDSTiS tDSTiH
DSTi
2.4V 0.4V tT 2.4V 0.4V tF0iS tF0iW tF0iH tT
F0i
Figure 11 -ST-BUS Timing Diagram
7-74
MT9094
AC Electrical Characteristics - Microport Timing (see Figure 12)
Characteristics 1 2 3 4 5 6 7 8 Receive data setup Receive data hold Transmit data delay from clock falling edge High Z to valid data from SCLK falling edge Valid data to high Z from CS rising edge Current transmit data hold from clock falling edge Chip Select to SCLK setup and hold times SCLK clock period (3 MHz) Sym A B C D E F G H 0 333 Min 10 10 80 80 80 0 Typ Max Units ns ns ns ns ns ns ns ns 50 pF 50 pF 50 pF Test Conditions
Timing is over recommended temperature range & recommended power supply voltages. Typical figures are at 25C and are for design aid only: not guaranteed and not subject to production testing.
DATA 1 RECEIVE
0
1
2 B
7
H
A
SCLK G
G
CS D F C DATA 1 or DATA 2 TRANSMIT 0 1 2 6 7 E
Figure 12 - Serial Microport Timing Diagram
7-75
MT9094
NOTES:
7-76


▲Up To Search▲   

 
Price & Availability of MT9094AP

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X